#!/bin/bash
#========================================================================
# Author: YSLin
# Email: 
# File Name: get3rdTo6thLine.sh
# Description: 
#   
# Edit History: 
#   2011-02-24    File created.
#========================================================================

#Any line numbered greater than 6 will be read into the working space, then discarded. just wasting CPU time.
#So we add 6q to avoid wasting.
sed '3,6!d 
6q' line.txt
#6q: will applied to line 6. sed will print line 6 then terminate.
